package com.hadluo.qq.client.model;

import java.util.List;

public class GroupChatHistoryResponse {
    private boolean success;
    private String message;
    private List<GroupMessage> messages;

    public GroupChatHistoryResponse(boolean success, String message, List<GroupMessage> messages) {
        this.success = success;
        this.message = message;
        this.messages = messages;
    }

    public GroupChatHistoryResponse(boolean success, String message) {
        this(success, message, null);
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<GroupMessage> getMessages() {
        return messages;
    }

    public void setMessages(List<GroupMessage> messages) {
        this.messages = messages;
    }
}